<dhl-query-location [colWidths]="colWidths" [tableRef]="tableRef" #queryCondition>
  <dhl-input name="名字" code="filter_name_like_s" [value]="name" labelWidth=8></dhl-input>
  <dhl-input name="工号" code="filter_employeeNum_like_s" [value]="name" labelWidth=10></dhl-input>
  <dhl-input name="uuid" code="filter_uuid_eq_s" [value]="userNo" labelWidth=10></dhl-input>
  <dhl-input name="上级Leader" code="filter_leader_eq_s" [value]="userNo" labelWidth=10></dhl-input>
  <dhl-input name="Cluster" code="filter_cluster_eq_s" [value]="userNo" labelWidth=8></dhl-input>
  <dhl-input name="Area" code="filter_area_eq_s" [value]="userNo" labelWidth=10></dhl-input>
  <dhl-input name="Title" code="filter_title_like_s" [value]="userNo" labelWidth=10></dhl-input>
  <dhl-input name="部门" code="filter_department_like_s" [value]="userNo" labelWidth=10></dhl-input>
  <dhl-select name="账号类型" code="filter_acctType_like_s" [value]="acctType" [options]="acctTypes"
              labelWidth=8></dhl-select>
  <dhl-select name="账号状态" code="filter_available_eq_s"
              [value]="status"
              [options]="[{'name':'在职',value:1},{'name':'离职',value:0}]"
              labelWidth=10></dhl-select>
  <dhl-select name="AD状态" code="filter_adStatus_eq_s"
              [value]="status"
              [options]="[{'name':'正常',value:'正常'},{'name':'禁用',value:'禁用'}]"
              labelWidth=10></dhl-select>

</dhl-query-location>

<nz-divider></nz-divider>
<dhl-table [domain]="'account'"
           [showExport]="{ fileName: '用户列表', trailDate: true }"
           [showCheck]="true"
           [maxHeight]="300"
           [params]="{'filter_project.id_eq_l':projectId,joinDomain:['manageProjects']}"
           [formConfig]="{
           formTitle:formTitle,
           formComponent:formComponent
           }"
           [queryLocationRef]="queryLocationRef"
           #table
>
  <dhl-titles>
    <dhl-title name="姓名" dataKey="name" width="150"></dhl-title>
    <dhl-title name="uuid" dataKey="uuid"></dhl-title>
    <dhl-title name="工号" dataKey="employeeNum" width="150"></dhl-title>
    <dhl-title name="全名" dataKey="fullName" align="left" width="270"></dhl-title>
    <dhl-title name="邮箱" dataKey="email" align="left" width="200"></dhl-title>
    <dhl-title name="title" dataKey="title" align="left" width="270"></dhl-title>
    <dhl-title name="Cluster" dataKey="cluster" width="60"></dhl-title>
    <dhl-title name="Area" dataKey="area" width="60"></dhl-title>
    <dhl-title name="部门" dataKey="department" align="left" width="180"></dhl-title>
    <dhl-title name="岗位" dataKey="position" align="left" width="250"></dhl-title>
    <dhl-title name="上级Leader" dataKey="leader" width="200"></dhl-title>
    <dhl-title name="AD状态" dataKey="adStatus" [viewComponent]="adStatusComponent"></dhl-title>
    <dhl-title name="账号状态" dataKey="available" [viewComponent]="viewComponent" width='100'></dhl-title>
    <dhl-title name="账号类型" dataKey="acctType" width="150"></dhl-title>
    <dhl-title name="账号创建时间" dataKey="acctCreateDate" width="188"></dhl-title>
    <dhl-title name="地址" dataKey="address" align="left" width="350"></dhl-title>
    <dhl-title name="描述" dataKey="description" align="left" width="370"></dhl-title>
    <dhl-title name="更新时间" dataKey="updateTimeStr"></dhl-title>
    <dhl-title name="更新人" dataKey="updateUser"></dhl-title>
    <dhl-title name="创建时间" dataKey="createTimeStr"></dhl-title>
    <dhl-title name="创建人" dataKey="createUser"></dhl-title>
  </dhl-titles>
</dhl-table>
